﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="StudentInput.ascx.cs" Inherits="AgentPage_StudentInput" %>
<style type="text/css">
  
    .style2
    {
        height: 23px;
    }

    .style3
    {
        height: 24px;
    }
    
    .divss
    {
        height:auto;
        width:auto;
        background-color:#ededed;
        }

</style>

<div class="divss">

<table >
    <tr>
        <td>
            <asp:Label ID="Label_name" runat="server" Text="姓名"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="TextBox_name" runat="server" MaxLength="10"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            <asp:Label ID="Label_sex" runat="server" Text="性别"></asp:Label>
        </td>
        <td class="style3">
            <asp:RadioButton ID="RadioButton_M" runat="server" GroupName="sex" Text="男" />
            &nbsp;
            <asp:RadioButton ID="RadioButton_W" runat="server" GroupName="sex" Text="女" />
        </td>
        <td class="style3">
            </td>
    </tr>
    <tr>
        <td class="style2">
            <asp:Label ID="Label_age" runat="server" Text="出生日期"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="TextBox_birthday" runat="server" MaxLength="12"></asp:TextBox>
        </td>
        <td class="style2">
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style2">
            <asp:Label ID="Label_ID" runat="server" Text="身份证"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="TextBox_ID" runat="server" MaxLength="20"></asp:TextBox>
        </td>
        <td class="style2">
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ControlToValidate="TextBox_ID" ErrorMessage="身份证格式错误！" 
                ValidationExpression="\d{17}[\d|X]|\d{15}"></asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr>
        <td class="style2">
            <asp:Label ID="Label_studentID" runat="server" Text="学生证"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="TextBox_studentID" runat="server" MaxLength="16"></asp:TextBox>
        </td>
        <td class="style2">
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                ControlToValidate="TextBox_studentID" ErrorMessage="学生证错误！" 
                ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr>
        <td class="style2">
            <asp:Label ID="Label_stutelnum" runat="server" Text="电话号码"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="TextBox_stutelnum" runat="server"></asp:TextBox>
        </td>
        <td class="style2">
            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                ControlToValidate="TextBox_stutelnum" ErrorMessage="电话格式错误！" 
                
                ValidationExpression="((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)"></asp:RegularExpressionValidator>
        </td>
    </tr>
</table>
</div>